package com.tm.media.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("ap_user_identity")
public class ApUserIdentity {
    @TableId(type = IdType.AUTO)
    private   Integer  id;//` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
    private   Integer user_id;//` int(11) unsigned DEFAULT NULL COMMENT '账号ID',
    private   String  name;//`; varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    private  String    idno;//` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '资源名称',
    private  String   fontImage;//` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '正面照片',
    private  String   backImage;//` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '背面照片',
    private  String   holdImage;//` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '手持照片',
    private  String    industry;//` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '行业',
    private  Integer  status;//` tinyint(1) unsigned DEFAULT NULL COMMENT '状态\r\n            0 创建中\r\n            1 待审核\r\n            2 审核失败\r\n            9 审核通过',
    private  String   reason;//` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '拒绝原因',
    private  LocalDateTime    createdTime;//` datetime DEFAULT NULL COMMENT '创建时间',
    private LocalDateTime submitedTime;//` datetime DEFAULT NULL COMMENT '提交时间',
    private LocalDateTime updatedTime;//` datetime DEFAULT NULL COMMENT '更新时间',
    @TableField(exist = false)
    private Long total;
    @TableField(exist = false)
    private String msg;
}
